﻿CREATE TABLE [dbo].[CreditCard] (
    [OwnerId]    INT          NULL,
    [CardNumber] VARCHAR (20) NOT NULL,
    CONSTRAINT [PK__The_Than__DA27777E3A5296FA] PRIMARY KEY CLUSTERED ([CardNumber] ASC),
    CONSTRAINT [FK_CreditCard_Customer] FOREIGN KEY ([OwnerId]) REFERENCES [dbo].[Customer] ([CustomerId])
);

